import React from 'react'
import { withRouter } from 'react-router-dom'

// withRouter  高阶组件   (给当前组件的props上添加路由信息)

function Home(props) {
    console.log(props)
    return (
        <div>Home</div>
    )
}



export default withRouter(Home)
